<!DOCTYPE html>
<html>
<head>
    <title>Online Cooking Sharing Platform</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }
        header {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px 0;
        }
        nav {
            background-color: #222;
            color: white;
            text-align: center;
            padding: 10px 0;
        }
        nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        nav ul li {
            margin: 0 10px;
        }
        .search-bar {
            margin-left: auto;
        }
        input[type="text"] {
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        button {
            padding: 5px 10px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        button:hover {
            background-color: #0056b3;
        }
        main {
            flex: 1;
            padding: 20px;
        }
        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 10px 0;
            position: fixed;
            bottom: 0;
            width: 100%;
        }
    </style>
</head>
<body>
    <header>
        <h1>Welcome to our Cooking Sharing Platform</h1>
    </header>
    <nav>
        <ul>
            <li><a href="#">About Us</a></li>
            <li><a href="#">Home</a></li>
            <li><a href="#">Services</a></li>
            <li><a href="#">Contact</a></li>
            
            <li class="search-bar">
                <input type="text" placeholder="Search...">
                <button>Search</button>
				<li><button>Login</button></li>
            </li>
        </ul>
    </nav>
    <main>
        <h2>Welcome to our interesting Taste!</h2>
        <p>This is where the main content of the website will go.</p>
    </main>
	
	<!-- 用户发送动态 -->
<!-- 	<div class="post">
    <img class="avatar" src="user_avatar.jpg" alt="User Avatar">
    <div class="post-content">
        <div class="user-info">
            <h3>User's Name</h3>
            <p>Posted on: April 19, 2024</p>
        </div>
        <p>User's Content Goes Here</p>
        可以添加图片、视频等其他内容
    </div>
</div>
	 -->
    <footer>
        @2800DP_2024_DG8_02
    </footer>
</body>
</html>